package com.ciaojian.core.model.vo;

import com.ciaojian.core.enums.business.WorkerStatusEnum;
import com.ciaojian.core.enums.business.WorkerTypeEnum;
import com.ciaojian.core.model.Worker;
import com.ciaojian.core.model.WorkerService;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class FranchiseesWorkerVo {

    private Integer id;
    private String name;
    private String avatar;
    private String qrcode;
    private String nameEn;
    private String storeName;
    private String storeId;
    private WorkerTypeEnum type;
    private Integer status;
    private String telphone;
    private Integer levelId;
    private String levelTitle;

    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    private Date joinTime;
    private List<WorkerService> serviceList;

}
